<?php get_header(); ?>
<div id="content">
<div id="contentleft">
<div id="single" class="postarea">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div <?php post_class() ?>>
<h1><?php the_title(); ?></h1>
<div class="postauthor">
<p>本文由<?php the_author_link(); ?>发表于<?php the_time('Y年m月d日'); ?> <a href="<?php the_permalink(); ?>#comments"><?php comments_number('暂无评论', '评论1条', '评论%条'); ?> </a><?php if(function_exists('the_views')) { the_views(); } ?>&nbsp; <?php edit_post_link('编辑', '', ''); ?></p>
</div>
<div class="entry">
<?php the_content(__('阅读全文 &raquo;'));?><div style="clear:both;"></div>
</div>
<!--
<?php trackback_rdf(); ?>
-->
<div class="singlepostmeta">
<p>分类:<?php the_category(', ') ?> 标签:<?php the_tags('') ?></p>
</div>
</div>
</div>
<div class="postcomments">
<?php comments_template('',true); ?>
</div>
<?php endwhile; else: ?>
<p>Sorry, no posts matched your criteria.</p><?php endif; ?>
</div>
<?php include(TEMPLATEPATH."/sidebar.php");?>
</div>
<?php get_footer(); ?>